// @ 516
// _(:з」∠)_

define([ ], function() {
    'use strict';

    const Loading = {};

    Loading["basic"] = function( param ) {
        let loadingHtml = `<div class="loading">
                                <div class="loader-17"></div>
                            </div>`;

        let loadingBox = document.querySelector(".loading");
        if ( loadingBox ) loadingBox.remove();
        document.querySelector(".main").insertAdjacentHTML( "beforeEnd", loadingHtml );
    }

    Loading["remove"] = function() {
        let loadingBox = document.querySelector(".loading");
        if ( loadingBox ) loadingBox.remove();
    }

    window.Loading = Loading;

    return Loading;
});